package ooday03;

public class Dog extends Animal implements Swim{
    Dog(String name,String color,int age){
        super(name,color,age);
    }
    void lookHome(){
        System.out.println(name+"正在看家");
    }
    void eat(){
        System.out.println("一身"+color+age+"岁的"+name+"正在啃骨头");
    }
    public void Swim(){
        System.out.println(color+"颜色"+age+"岁的狗"+name+"在洗澡");
    }
}
